import './assets/main.scss'
import { ElEmpty } from 'element-plus'
import ElTableColumn from 'element-plus/es/components/table/src/tableColumn'
import ElementPlus from 'element-plus' //导入element-plus
import 'element-plus/dist/index.css' //导入样式
import { createApp } from 'vue'
import App from './App.vue' //导入app.cvue
import {createPinia} from 'pinia'
import router from '@/router'
import { createPersistedState} from 'pinia-persistedstate-plugin'
import locale from 'element-plus/dist/locale/zh-cn.js'

const pinia=createPinia();
const app=createApp(App);
const persist=createPersistedState();
pinia.use(persist);
app.use(router);
app.use(pinia);
app.use(ElementPlus,{locale}); //element-plus
app.mount('#app') //导入html元素
